<?php
namespace app\models;

use yii\db\ActiveRecord;

/**
 * 资讯标签
 *
 * Class ArticleTag
 * @package app\models
 *
 * @property integer $id
 * @property string $name
 * @property integer $num
 */
class ArticleTag extends ActiveRecord
{

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            ['name', 'string', 'max'=>32],
        ];
    }
}
